#coding:utf-8
'''
Created on 2016-6-2

@author: hhl
'''
import sys
sys = sys
if sys.getdefaultencoding() != 'utf-8':
    reload(sys)
    sys.setdefaultencoding('utf-8')
    
from example import worker
from example.views import views

app = worker.app
# from werkzeug.contrib.fixers import ProxyFix
# app.wsgi_app = ProxyFix(app.wsgi_app)
if __name__ == "__main__":
    worker.app.run(debug=True, host='0.0.0.0', port=8001)